#ifndef USEREXAMPLE_H 
#define USEREXAMPLE_H 

#include "BearFactory.h"
#include "UserExampleBear.h"


class UserExample
     : public UserExampleBear
{
public:
    UserExample();

    ~UserExample();

    //You can edit this part - Start

    //You can edit this part - End
};


class UserExampleFactory
     : public BBFactory
{
public:
    UserExampleFactory()
    {
        BearFactory::instance()->registerFactory( "UserExample", this );
    }

    ~UserExampleFactory()
    {
        //DOES NOTHING
    }

    virtual Bear* instance() const
    {
        return new UserExample();
    }
};

Q_DECLARE_METATYPE( UserExample );

#endif
